package com.huanletao.spring.util;

import org.springframework.beans.factory.annotation.Value;

import java.util.StringJoiner;

/**
 * <p>
 *
 * </p>
 *
 * @package: com.huanletao.spring.util
 * @Description:
 * @className: Person
 * @author: @NNCSKJ ADMIN
 * @copyright: Copyright (c) 2022/8/10 18:17
 * @version: V1.0
 */
public class Person {

    @Value("${colors.background}")
    private String background;

    @Override
    public String toString() {
        return new StringJoiner(", ", Person.class.getSimpleName() + "[", "]")
                .add("background='" + background + "'")
                .toString();
    }
}
